	<script type="text/javascript" src="<?php echo base_url();?>resources/js/jquery-1.4.2.js"></script>
	<script>
		
		function ontab(id,all){
			var ele_id = 'sidemenu';
				for(var i = 1; i<=all; i++){
					if(i == id){
						$('#'+ele_id+id).addClass('tabon');
					}else{
						$('#'+ele_id+i).removeClass('tabon');
					}
				}
	    }
	    $(document).ready(ontab(1,12));
	</script> 
	</body>
</html>